package com.rc.saas.tenant.service.tenant;

import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.tenant.TenantOpenServiceMapper;
import com.rc.saas.tenant.model.tenant.TenantOpenService;
import com.rc.saas.tenant.model.tenant.TenantOpenServiceExample;

public interface TenantOpenServiceService extends BaseService<Long, TenantOpenService, TenantOpenServiceExample, TenantOpenServiceMapper> {
    TenantOpenService selectByTypeCode(String tenantCode, String serviceTypeCode);

    /**
     * 更新运营商和分销商开通菜单的状态
     *
     * @param tenantOpenService
     */
    void updateTenantAndOperator(TenantOpenService tenantOpenService);
}
